package tgc.edu.tms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import tgc.edu.tms.custom.BaseEntity;

//学年学期表
@Entity
public class Schoolyear extends BaseEntity<Integer> {
	private String xnxq; // 学年学期
	
	@Column(unique=true,nullable=false)
	public String getXnxq() {
		return xnxq;
	}

	public void setXnxq(String xnxq) {
		this.xnxq = xnxq;
	}

}
